<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>耗材入库</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>

 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="consumeMeterialStockInController.do?doUpdate" tiptype="3" >
		<input type="hidden" name="id"  value="${meterial.id}" />
		<table style="" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							入库单号:
						</label>
					</td>
					<td class="value">
					     <input id="sheetNo" name="sheetNo" type="text"     
					     	style="width: 150px;border:0" class="inputxt" value="${meterial.sheetNo }" readonly="readonly"  maxlength="100"  >
    				</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							选择耗材:
						</label>
					</td>
					<td class="value"> 
                	     <input id="meterialId" name="meterialId" type="hidden"  value="${meterial.meterial.id }">               
					     <input id="meterialName"  type="text" style="width: 150px" class="inputxt" 
					      readonly="readonly" datatype="*" value='${meterial.meterial.name}'>
					     <t:choose hiddenName="meterialId" hiddenid="id" url="consumeMeterialDictController.do?goSelect" name="meterialList"
                          icon="icon-search" title="选择" textname="name" inputTextname="meterialName" isclear="false" isInit="true" ></t:choose>
							
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">耗材</label>
						
					</td>
					
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							数量:
						</label>
					</td>
					<td class="value">
					     <input id="inCount" name="inCount" type="text"    datatype="*" value="${meterial.inCount}"
					     	style="width: 150px" class="inputxt"   maxlength="10"  onkeypress="numberValidate()">
					     <span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">数量</label>
  					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							单位:
						</label>
					</td>
					<td class="value">
					     <input id="unitName" name="unitName" type="text"    datatype="*" value="${meterial.unitName}"
					     	style="width: 150px" class="inputxt"   maxlength="10" >
					     <span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">单位</label>
  					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">实验项目:</label>
					</td>
					<td class="value"> 
	                	<input id="itemId" name="itemId" type="hidden" value="${meterial.teachItem.id }" >             
						<input id="itemName" value="${meterial.teachItem.itemName }" type="text" style="width: 150px" class="inputxt"  datatype="*" readonly="readonly">
						<t:choose hiddenName="itemId" hiddenid="id" url="dictTeachItemController.do?goSelect" name="groupList"
	                          icon="icon-search" title="选择" textname="itemName" isclear="false" isInit="true"  ></t:choose> 
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">实验项目</label> 
					</td> 
				</tr>
				 <tr>
					<td align="right">
						<label class="Validform_label">
							存放地:
						</label>
					</td>
					<td class="value">
					     <input id="houseAddress" name="houseAddress" type="text"     value="${meterial.houseAddress}"
					     	style="width: 200px" class="inputxt"   maxlength="100"  >
    				</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							仓库管理员:
						</label>
					</td>
					<td class="value">
					     <input id="houseAdmin" name="houseAdmin" type="text"     value="${meterial.houseAdmin}"
					     	style="width: 150px" class="inputxt"   maxlength="100"  >
    				</td>
				</tr>
		 
				<tr>
					<td align="right">
						<label class="Validform_label">
							供应商名称:
						</label>
					</td>
					<td class="value">
					     <input id="supplyName" name="supplyName" type="text"     value="${meterial.supplyName}"
					     	style="width: 150px" class="inputxt"   maxlength="100"  >
    				</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							客服电话:
						</label>
					</td>
					<td class="value">
					     <input id="contactPhone" name="contactPhone" type="text"    value="${meterial.contactPhone}" 
					     	style="width: 150px" class="inputxt"   maxlength="20"  >
    				</td>
				</tr>
			</table>
		</t:formvalid>
 </body>
 